From 6aa9b7d1a47c40db90ca1bfa162084aa0ebfdedf Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Wed, 7 Jun 2017 09:39:39 +0100 Subject: [PATCH] softfp-armel Gbp-Pq: Name softfp-armel.patch --- m4/ax_arm.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/ax_arm.m4 b/m4/ax_arm.m4 index 26b5258bd..627f7c79a 100644 --- a/m4/ax_arm.m4 +++ b/m4/ax_arm.m4 @@ -7,6 +7,9 @@ AC_DEFUN([AX_ARM_FEATURES], AX_CHECK_COMPILE_FLAG(-mfpu=neon, ax_cv_support_neon_ext=yes, []) if test x"$ax_cv_support_neon_ext" = x"yes"; then ARM_NEON_FLAGS="-mfpu=neon -DARM_NEON" + if test x"$target_os" = x"linux-gnueabi"; then + ARM_NEON_FLAGS="$ARM_NEON_FLAGS -mfloat-abi=softfp" + fi AC_SUBST(ARM_NEON_FLAGS) ARM_FLAGS="$ARM_FLAGS $ARM_NEON_FLAGS" AC_DEFINE(HAVE_NEON,,[Support NEON instructions]) -- 2.30.2